package com.lwei.ljpro.entry;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 用户记录
 */
public class UserEntry extends BaseEntry {
    private static final long serialVersionUID = 1775837109261261886L;

    /**
     * 电话号码  用做用户识别
     */
    private String loginTel;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 暂停
     */
//    private List<Long> customerIds = new ArrayList<>();

    /**
     * 最后访问时间
     */
    private Date lastTime;

    public UserEntry() {
    }

    public UserEntry(Long id) {
        super.setId(id);
    }

    public UserEntry(String loginTel, String userName) {
        this.loginTel = loginTel;
        this.userName = userName;
    }

    public String getLoginTel() {
        return loginTel;
    }

    public void setLoginTel(String loginTel) {
        this.loginTel = loginTel;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }
}
